package com.hc.sss.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * buy[帮我买]
 * @author Administrator
 *
 */
public class Buy implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String buyId;//任务id

    private String buyAddr;//购买地址【关联地址表】

    private String buyDeliverAddr;//送达地址【关联地址表】

    private String buyPhone;//联系电话

    private Integer buyDictType;//物品信息【关联基础数据表】

    private String buyOrderId;//订单流水号【是订单表主键】

    private Integer buyStatus;//任务状态(-1删除，1正常，2正在进行，3完成任务，4任务失败 5取消)

    private Integer buyPublish;//发布人【关联用户表】

    private Integer buyReceive;//接受人【关联用户表】

    private Date buyReceiveTime;//接单时间

    private Date buyCreateTime;//创建时间

    private Date buyUpdateTime;//更新时间
    
    /**
     * lcx
     * 2021年4月15日10:27:31
     */
    private Order order;//订单
    private Address address1;//拿货地址
    private Address address2;//收货地址
    private User user1;//用户
    private User user2; //接单人
    private Dict dict;//基础数据表

   

    public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Address getAddress1() {
		return address1;
	}

	public void setAddress1(Address address1) {
		this.address1 = address1;
	}

	public Address getAddress2() {
		return address2;
	}

	public void setAddress2(Address address2) {
		this.address2 = address2;
	}

	public User getUser1() {
		return user1;
	}

	public void setUser1(User user1) {
		this.user1 = user1;
	}

	public User getUser2() {
		return user2;
	}

	public void setUser2(User user2) {
		this.user2 = user2;
	}

	public Dict getDict() {
		return dict;
	}

	public void setDict(Dict dict) {
		this.dict = dict;
	}

	public String getBuyId() {
		return buyId;
	}

	public void setBuyId(String buyId) {
		this.buyId = buyId;
	}


    public String getBuyAddr() {
		return buyAddr;
	}

	public void setBuyAddr(String buyAddr) {
		this.buyAddr = buyAddr;
	}

	public String getBuyDeliverAddr() {
		return buyDeliverAddr;
	}

	public void setBuyDeliverAddr(String buyDeliverAddr) {
		this.buyDeliverAddr = buyDeliverAddr;
	}

	public String getBuyPhone() {
        return buyPhone;
    }

    public void setBuyPhone(String buyPhone) {
        this.buyPhone = buyPhone == null ? null : buyPhone.trim();
    }

    public Integer getBuyDictType() {
        return buyDictType;
    }

    public void setBuyDictType(Integer buyDictType) {
        this.buyDictType = buyDictType;
    }

    public String getBuyOrderId() {
        return buyOrderId;
    }

    public void setBuyOrderId(String buyOrderId) {
        this.buyOrderId = buyOrderId == null ? null : buyOrderId.trim();
    }

    public Integer getBuyStatus() {
        return buyStatus;
    }

    public void setBuyStatus(Integer buyStatus) {
        this.buyStatus = buyStatus;
    }

    public Integer getBuyPublish() {
        return buyPublish;
    }

    public void setBuyPublish(Integer buyPublish) {
        this.buyPublish = buyPublish;
    }

    public Integer getBuyReceive() {
        return buyReceive;
    }

    public void setBuyReceive(Integer buyReceive) {
        this.buyReceive = buyReceive;
    }

    public Date getBuyReceiveTime() {
        return buyReceiveTime;
    }

    public void setBuyReceiveTime(Date buyReceiveTime) {
        this.buyReceiveTime = buyReceiveTime;
    }

    public Date getBuyCreateTime() {
        return buyCreateTime;
    }

    public void setBuyCreateTime(Date buyCreateTime) {
        this.buyCreateTime = buyCreateTime;
    }

    public Date getBuyUpdateTime() {
        return buyUpdateTime;
    }

    public void setBuyUpdateTime(Date buyUpdateTime) {
        this.buyUpdateTime = buyUpdateTime;
    }
}